﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using Telerik.WinControls;

namespace ICNCentral.InterfazGrafica
{
    public partial class Frm_PreguntaSiNo : Telerik.WinControls.UI.RadForm
    {

        public Frm_PreguntaSiNo()
        {
            InitializeComponent();
        }

        public int Opcion = 0;

        private void Btn_Aceptar_Click(object sender, EventArgs e)
        {
            switch (Opcion)
            {
                case 1:
                    Application.Exit();
                    break;
                case 2:
                    Application.Restart();
                    break;
            }
        }

        private void Btn_Cancelar_Click(object sender, EventArgs e)
        {
            this.TopMost = false;
            this.Close();
        }
    }
}
